/* 清除元素默认的内外边距 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 让所有的斜体不倾斜 */
em,
i {
  font-style: normal;
}

/* 去掉列表前面的小点 */
li {
  list-style: none;
}

/* 图片没有边框 去掉图片底侧的空白缝隙 */
img {
  border: 0;
  vertical-align: middle;
}

/* 让button按钮变成小手 */
button {
  cursor: pointer;
}

/* 取消链接的下划线 */
a {
  color: #666;
  text-decoration: none;
}

a:hover {
  color: #e33333;
}

h4 {
  font-weight: 400;
}

body {
  background: url(../images/bg.jpg) no-repeat 0 0 / cover;
  /* background-size: cover; */
  /* height: 20000px; */
}

/* 实现rem适配 */
@media screen and (max-width: 1024px) {
  html {
    font-size: 42.66px !important;
  }
}

@media screen and (min-width: 1920px) {
  html {
    font-size: 80px !important;
  }
}

/* 父容器 */
.viewport {
  display: flex;
  min-width: 1024px;
  max-width: 1920px;
  min-height: 780px;
  background: url(../images/logo.png) no-repeat 0 0 / contain;
  margin: 0 auto;
  padding: 1.1rem 0.25rem 0;
}

.viewport .column {
  flex: 3;
  /* background-color: pink; */
}

.viewport .column:nth-child(2) {
  flex: 4;
  margin: 0.4rem 0.25rem 0;
}

/* 公共面板样式 */
.panel {
  position: relative;
  border: 15px solid transparent;
  border-width: 0.6375rem 0.475rem 0.25rem 1.65rem;
  border-image-source: url(../images/border.png);
  border-image-slice: 51 38 20 132;
  margin-bottom: 0.25rem;
}

.inner {
  position: absolute;
  top: -0.6375rem;
  left: -1.65rem;
  right: -0.475rem;
  bottom: -0.25rem;
  /* background-color: red; */
  padding: 0.3rem 0.45rem;
}

.panel .inner h3 {
  color: #fff;
  font-size: 0.25rem;
  font-weight: 400;
}

/* 概览区域模块制作 */
.overview {
  height: 1.4375rem;
}

.overview ul {
  display: flex;
  justify-content: space-between;
}

.overview ul li h4 {
  font-size: 0.35rem;
  color: #fff;
  margin: 0 0 0.1rem 0.06rem;
}

.overview ul li span {
  font-size: 0.2rem;
  color: #4c9bfd;
}

/* 监控区域 */
.monitor {
  height: 6rem;
}

.monitor .inner {
  display: flex;
  flex-direction: column;
  padding: 0.3rem 0;
}

.monitor .tabs {
  padding: 0 0.45rem;
  margin-bottom: 0.225rem;
  display: flex;
}

.monitor .tabs a {
  color: #1950c4;
  font-size: 0.225rem;
  padding: 0 0.3375rem;
}

.monitor .tabs a:first-child {
  padding-left: 0;
  border-right: 0.025rem solid #00f2f1;
}

.monitor .tabs a.active {
  color: #fff;
}

.monitor .content {
  /* 占满剩余高度 */
  flex: 1;
  position: relative;
  display: none;
}

.monitor .content .head {
  display: flex;
  justify-content: space-between;
  line-height: 1.05;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.15rem 0.45rem;
  color: #68d8fe;
  font-size: 0.175rem;
}

.monitor .content .marquee-view {
  position: absolute;
  top: 0.5rem;
  bottom: 0;
  width: 100%;
  overflow: hidden;
}

.monitor .content .marquee-view .marquee .row {
  display: flex;
  justify-content: space-between;
  line-height: 1.05;
  color: #61a8ff;
  padding: 0.15rem 0.45rem;
}

.monitor .row .icon-dot {
  position: absolute;
  left: 0.2rem;
  opacity: 0;
}

.monitor .row:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #68d8fe;
}

.monitor .row:hover .icon-dot {
  opacity: 1;
}

.monitor .row .col:first-child {
  width: 1rem;
}

.monitor .row .col:nth-child(2) {
  width: 2.5rem;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.monitor .row .col:nth-child(3) {
  width: 1rem;
}

/* 通过css3动画向上滚动marquee */
.marquee-view .marquee {
  animation: move 15s linear infinite;
}

/* 向上移动一半高度 */
@keyframes move {
  0% {
  }
  100% {
    transform: translateY(-50%);
  }
}

/* 鼠标经过marquee停止动画 */
.marquee-view .marquee:hover {
  animation-play-state: paused;
}

/* 点位分布统计模块 */
.point {
  height: 4.25rem;
}

.point .chart {
  display: flex;
  justify-content: space-between;
  margin-top: 0.3rem;
}

.point .pie {
  width: 3.9rem;
  height: 3rem;
  margin-left: -0.125rem;
}

.point .data {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 2.1rem;
  padding: 0.45rem 0.375rem;
  box-sizing: border-box;
  background-image: url(../images/rect.png);
  background-size: cover;
}

.point .data h4 {
  color: #fff;
  font-size: 0.35rem;
  margin-bottom: 0.15rem;
}

.point span {
  display: block;
  color: #4c9bfd;
  font-size: 0.2rem;
}

/* 地图模块 */
.map {
  display: flex;
  height: 7.225rem;
  margin-bottom: 0.25rem;
  flex-direction: column;
}

.map h3 {
  line-height: 1;
  font-size: 0.25rem;
  color: #fff;
  font-weight: 400;
  margin: 0;
  padding: 0.2rem 0;
}

.map .icon-cube {
  color: #68d8fe;
}

.map .chart {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.05);
}

.map .geo {
  width: 100%;
  height: 100%;
}

/* 用户统计模块 */
.users {
  display: flex;
  height: 4.25rem;
}

.users .chart {
  display: flex;
  margin-top: 0.3rem;
}

.users .bar {
  width: 7.35rem;
  height: 3rem;
}

.users .data {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 2.1rem;
  padding: 0.45rem 0.375rem;
  box-sizing: border-box;
  background-image: url(../images/rect.png);
  background-size: cover;
}

.users h4 {
  color: #fff;
  font-size: 0.35rem;
  margin-bottom: 0.15rem;
}

.users span {
  display: block;
  color: #4c9bfd;
  font-size: 0.2rem;
}

/* 订单模块 */
.order {
  height: 1.875rem;
}

.order .filter {
  display: flex;
}

.order .filter a {
  display: block;
  height: 0.225rem;
  line-height: 1;
  padding: 0 0.225rem;
  color: #1950c4;
  font-size: 0.225rem;
  border-right: 0.025rem solid #00f2f1;
}

.order .filter a:first-child {
  padding-left: 0;
}

.order .filter a:last-child {
  border-right: none;
}

.order .filter a.active {
  color: #fff;
  font-size: 0.25rem;
}

.order .data {
  display: flex;
  margin-top: 0.25rem;
}

.order .data .item {
  width: 50%;
}

.order h4 {
  font-size: 0.35rem;
  color: #fff;
  margin-bottom: 0.125rem;
}

.order span {
  display: block;
  color: #4c9bfd;
  font-size: 0.2rem;
}

/* 销售额统计 */
.sales {
  height: 3.1rem;
}

.sales .caption {
  display: flex;
  line-height: 1;
}

.sales h3 {
  height: 0.225rem;
  padding-right: 0.225rem;
  border-right: 0.025rem solid #00f2f1;
}

.sales a {
  padding: 0.05rem;
  font-size: 0.2rem;
  margin: -0.0375rem 0 0 0.2625rem;
  border-radius: 0.0375rem;
  color: #0bace6;
}

.sales a.active {
  background-color: #4c9bfd;
  color: #fff;
}

.sales .inner {
  display: flex;
  flex-direction: column;
}

.sales .chart {
  flex: 1;
  padding-top: 0.1875rem;
  position: relative;
}

.sales .label {
  position: absolute;
  left: 0.525rem;
  top: 0.225rem;
  color: #4996f5;
  font-size: 0.175rem;
}

.sales .line {
  width: 100%;
  height: 100%;
}

/* 渠道分布 */
.wrap {
  display: flex;
}

.channel,
.quarter {
  flex: 1;
  height: 2.9rem;
}

.channel {
  margin-right: 0.25rem;
}

.channel .data {
  overflow: hidden;
}

.channel .data .radar {
  height: 2.1rem;
  width: 100%;
}

.channel h4 {
  color: #fff;
  font-size: 0.4rem;
  margin-bottom: 0.0625rem;
}

/* 季度区块 */
.quarter .inner {
  display: flex;
  flex-direction: column;
  margin: 0 -0.075rem;
}

.quarter .chart {
  flex: 1;
  padding-top: 0.225rem;
}

.quarter .box {
  position: relative;
}

.quarter .label {
  transform: translate(-50%, -30%);
  color: #fff;
  font-size: 0.375rem;
  position: absolute;
  left: 50%;
  top: 50%;
}

.quarter .label small {
  font-size: 50%;
}

.quarter .gauge {
  height: 1.05rem;
}

.quarter .data {
  display: flex;
  justify-content: space-between;
}

.quarter .item {
  width: 50%;
}

.quarter h4 {
  color: #fff;
  font-size: 0.3rem;
  margin-bottom: 0.125rem;
}

.quarter span {
  display: block;
  width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  color: #4c9bfd;
  font-size: 0.175rem;
}

/* 全国热榜模块制作 */
/* 排行榜 */
.top {
  height: 3.5rem;
}

.top .inner {
  display: flex;
}

.top .all {
  display: flex;
  flex-direction: column;
  width: 2.1rem;
  color: #4c9bfd;
  font-size: 0.175rem;
  vertical-align: middle;
}

.top .all ul {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding-left: 0.15rem;
  margin-top: 0.15rem;
}

.top .all ul li {
  overflow: hidden;
}

.top .all [class^="icon-"] {
  font-size: 0.45rem;
  vertical-align: middle;
  margin-right: 0.15rem;
}

.top .province {
  flex: 1;
  display: flex;
  flex-direction: column;
  color: #fff;
}

.top .province i {
  padding: 0 0.15rem;
  margin-top: 0.0625rem;
  float: right;
  font-style: normal;
  font-size: 0.175rem;
  color: #0bace6;
}

.top .province s {
  display: inline-block;
  transform: scale(0.8);
  text-decoration: none;
}

.top .province .icon-up {
  color: #dc3c33;
}

.top .province .icon-down {
  color: #36be90;
}

.top .province .data {
  flex: 1;
  display: flex;
  margin-top: 0.175rem;
}

.top .province ul {
  flex: 1;
  line-height: 1;
  margin-bottom: 0.175rem;
}

.top .province ul li {
  display: flex;
  justify-content: space-between;
}

.top .province ul span {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.top .province ul.sup {
  font-size: 0.175rem;
}

.top .province ul.sup li {
  color: #4996f5;
  padding: 0.15rem;
}

.top .province ul.sup li.active {
  color: #a3c6f2;
  background-color: rgba(10, 67, 188, 0.2);
}

.top .province ul.sub {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  font-size: 0.15rem;
  background-color: rgba(10, 67, 188, 0.2);
}

.top .province ul.sub li {
  color: #52ffff;
  padding: 0.125rem 0.175rem;
}

.clock {
  position: absolute;
  top: -0.45rem;
  right: 0.5rem;
  font-size: 0.25rem;
  color: #0bace6;
}

.clock i {
  margin-right: 5px;
  font-size: 0.25rem;
}

@media screen and (max-width: 1600px) {
  .top span {
    transform: scale(0.9);
  }
  .top .province ul.sup li {
    padding: 0.125rem 0.15rem;
  }
  .top .province ul.sub li {
    padding: 0.0625rem 0.15rem;
  }
  .quarter span {
    transform: scale(0.9);
  }
}
